﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using SeDuce.Model;

namespace SeDuce.IDAL
{
    public interface IArticleDAL
    {
        DataTable GetArticles();
        DataTable GetArticleByTitle(string title);
        DataTable GetArticleByType(int type);
        DataTable GetArticleByID(int id);
        bool UpdateArticle(Article article);
        bool InsertArticle(Article article);
        bool DeleteArticle(int ID);
    }
}
